package com.example.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel
public class DormVo {
    @ApiModelProperty(value = "唯一编码", example = "1001", required = true,
        position = 1)
    private Long id;
    @ApiModelProperty(value = "名称", example = "宿舍1", required = true,
        position = 3)
    private String name;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     *            the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

}
